<!DOCTYPE html>
<html lang="zh-cn"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>WinnieQ绑查询</title>
<link rel="shortcut icon" href="http://8zyw.cn/favicon.ico" type="image/x-icon">
<link href="//lib.baomitu.com/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<script src="//lib.baomitu.com/jquery/1.12.4/jquery.min.js"></script>
<script src="//lib.baomitu.com/layer/3.1.1/layer.js"></script><link rel="stylesheet" href="http://lib.baomitu.com/layer/3.1.1/theme/default/layer.css?v=3.1.1" id="layuicss-layer">
<!--[if lt IE 9]>
<script src="//lib.baomitu.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="//lib.baomitu.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<script>
function gg() {
	layer.alert('您好！欢迎来到WinnieQ绑查询！<br/>本站由Winnie提供技术支持！<br/>亲爱的访客，本站数据严禁用于违法用途！', {
		icon: 1,
		title: '公告&访客必读',
		skin: 'layer-ext-moon'
	},
	function() {
		favor();
	})
}
function add() {
	dialog('<div class="list-group-item" style="text-align:center"><b style="color:#ff4425">大部分手机浏览器都有添加到桌面功能，堪比App，快捷方便！<br><a onclick="favor()" class="btn btn-block btn-primary" style="background: linear-gradient(to right,#FF00F8,#FF00A8);">点我添加收藏！！</a><br></div></div>', 1);
}
function favor() {
	var url = window.location;
	var title = document.title;
	var ua = navigator.userAgent.toLowerCase();
	if (ua.indexOf("360se") > -1) {
		layer.msg('您的浏览器不支持一键收藏,电脑请按Ctrl+D手动收藏 手机请点击下面的工具栏！');
	} else if (ua.indexOf("msie 8") > -1) {
		window.external.AddToFavoritesBar(url, title); //IE8
	} else if (document.all) { //IE类浏览器
		try {
			window.external.addFavorite(url, title);
		} catch(e) {
			layer.msg('您的浏览器不支持一键收藏,电脑请按Ctrl+D手动收藏 手机请点击下面的工具栏！');
		}
	} else if (window.sidebar) { //firfox等浏览器；
		window.sidebar.addPanel(title, url, "");
	} else {
		layer.msg('您的浏览器不支持一键收藏,电脑请按Ctrl+D手动收藏 手机请点击下面的工具栏！');
	}
}

document.onkeydown = function() {
	if (window.event && window.event.keyCode == 123) {
		layer.alert("注意！网站禁止调试，如果您强制调试将无法正常使用！");
		event.keyCode = 0;
		event.returnValue = false;
	}
	if (window.event && window.event.keyCode == 13) {
		window.event.keyCode = 505;
	}
}
</script>
</head>

<body background="https://api.ixiaowai.cn/api/api.php">
<div class="container">
<div class="col-xs-12 col-sm-10 col-md-8 col-lg-6 center-block" style="float: none;">
<br>
<div class="panel panel-primary">
<div class="panel-heading" style="background: linear-gradient(to right,#b221ff,#14b7ff,#8ae68a);">
<h3 class="panel-title">WinnieQ绑查询</h3>
</div>
<div class="panel-body" style="text-align: center;">
<div class="list-group">
<div class="list-group-item list-group-item-warning" style="font-weight: bold;">
<span>输入QQ号码即可查询密保手机</span>
</div>
<div class="list-group-item list-group-item-info" style="font-weight: bold;">
<input class="form-control" id="input" placeholder="请输入QQ">
</div>
<div class="list-group-item">
<a onclick="qbang('cha')" class="btn btn-block btn-primary" style="background: linear-gradient(to right,#b221ff,#14b7ff);">查找</a>
</div>
<div class="list-group-item">
<a onclick="qbang('jiabai')" class="btn btn-block btn-primary" style="background: linear-gradient(to right,#5abdd8,#14b7ff);">加白</a>
</div>
<div class="list-group-item">
<a class="btn btn-block btn-primary" style="background: linear-gradient(to right,#D51A33,#FFAF00);" href="https://winnie258.github.io">点击进入站长个人界面</a></div>
<div class="list-group-item">
<a class="btn btn-block btn-primary" style="background: linear-gradient(to right,#00D8FF,#00A0FF);" onclick="add()">点我【收藏网址】</a></div>
<div class="list-group-item list-group-item-warning" style="font-weight: bold;display: none;" id="jiexi_data">
<div class="input-group">
<span class="input-group-addon">密保手机号码</span>
<input type="text" class="form-control" placeholder="" id="mobile">
</div>

</div>
</div>

</div>
</div>
<div class="panel panel-default text-center">
<div class="panel-body">
©&nbsp;2021&nbsp;&nbsp;WinnieQ绑查询&nbsp;&nbsp;原作者:电报@maniubi



<div class="alert alert-danger" role="alert">
<div style="text-align:center;">
未开发的版块，以后将逐步开发！
<br>

</div></div></div></div></div></div>
<script>
function qbang($mod) {
var qq = $('#input').val();
if (qq == '') {
var alert_1 = layer.msg('请输入QQ', { icon: 5 });
} else {

if($mod=='cha'){
dialog('<div style="text-align:center"><br><b style="color:#ff4425">仅供查询自己的QQ号码<br>不是自己的请立即退出本页面<br>否则发生的一切后果站长不负责<br><br>确认查询？？</b><br><br><a onclick='+'queren("cha")'+' class="btn btn-block btn-primary" style="background: linear-gradient(to right,#b221ff,#14b7ff);">确认</a><br></div>', 1);
}else{
dialog('<div style="text-align:center"><div class="list-group-item list-group-item-info" style="font-weight: bold;"><input class="form-control" id="key" placeholder="请输入key"></div><b style="color:#ff4425">加白只是在本站无法查找，并不代表全网，请知悉<a onclick='+'queren("jiabai")'+' class="btn btn-block btn-primary" style="background: linear-gradient(to right,#b221ff,#14b7ff);">加白</a><br></div>', 1);
}

}
}
function queren(mod) {
console.log(mod);
layer.close(layer.index);
var qq = $('#input').val();
if(mod=='cha'){
$url = 'http://'+Math.random()+'.qb-api.com/qb-api.php?mod=cha&qq='+qq;
}else{
var key = $('#key').val();
$url = 'http://'+Math.random()+'.qb-api.com/qb-api.php?mod=jiabai&key='+key+'&qq='+qq;
}

var alert_1 = layer.load(0, { shade: false });
$.getJSON($url, function (json) {
layer.close(alert_1);
console.log(json);
if (json['code'] == 200 && json['msg'] == 'ok') {
layer.msg('查询成功', { icon: 1 });
$('#mobile').val(json['data']['mobile']);
$('#jiexi_data').css("display", "block");
} else {
layer.msg(json['msg']);
$('#jiexi_data').css("display", "none");
}
}
);
}
function dialog(code, exit) {
layer.open({
type: 1,
skin: 'layui-layer-lan', //加上边框
area: ['90%', ''], //宽高
closeBtn: exit,
shadeClose: true,
shade: 0.8,
title: '提示',
btnAlign: 'c',
content: code,
});
}
gg();
</script>
<script type="text/javascript" src="https://js.users.51.la/21020775.js"></script>
</body></html>
